<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    *{
        margin: 0;
        padding:0;
    }
    ul{
        list-style-type: none;
    }
    li{
        margin-right: 20px;
        float: left;
        overflow: hidden;
    }
</style>
<body>
<ul>
    <li>首页</li>
    <li>免费课</li>
    <li>直播课</li>
    <li>精品课</li>
    <li>线上班</li>
</ul>

</body>
</html>